<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
		<script type="text/javascript">
			function study(){
			var t=prompt("今天星期几？：","");	
			switch(t){
				case "星期一":				
				alert("新的一周开始了！")
				break;
				case "星期二","星期三","星期四":				
			 	alert("努力工作！");
				break;
				case "星期五":
				alert("明天就是周末了！");
				break;
				default:
				alert("放松的休息！");
				break;
			}}
		</script>
	<body>
		<input type="button" name="day" id="day" value="看看今天干什么！" onclick="study()"/>
	</body>
</html>
